package com.woniu40.separate_music.service;

import com.woniu40.separate_music.entity.Music;
import com.woniu40.separate_music.entity.MusicType;
import com.woniu40.separate_music.mapper.MusicTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MusicTypeService {

    @Autowired
    MusicTypeMapper musicTypeMapper;
    public List<MusicType> findTypeAll(){
        return musicTypeMapper.selectMusicType();
    }

}
